import { PageOptions } from "./pageOptions.model";

export class TableOptions {
    public filter: any;
    public orderByCol: string;
    public orderByAsc: boolean;
    public activeColumn: string;
    public pageOptions: PageOptions;
    constructor(orderByCol:string, take: number = 20) {
        this.orderByCol = orderByCol;
        this.orderByAsc = true;
        this.pageOptions = new PageOptions(0, take, false);
    }
}